<template>
  <div class="layout">
    <el-container>
      <el-header class="bg-red-400 h-[65px] p-0">
        <Header />
      </el-header>
      <el-container class="container">
        <el-aside :style="{ width: $store.getters.asideWidth }">
          <SideMeau />
        </el-aside>
        <el-main>
          <MainLayout />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import SideMeau from './components/side.vue'
import Header from './components/header.vue'
import MainLayout from './components/main.vue'
</script>

<style lang="scss" scoped>
.layout {
  width: 100vw;
  height: 100vh;
}
.container {
  height: calc(100vh - 65px);
  width: 100vw;
}
.el-aside {
  transition: all 0.3s;
}
</style>
